﻿#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;

class Maker {
public:
	// 编译器提供默认的构造函数和析构函数 
	void printfMaker() {
		a = 100;
		cout << "a=" << a << endl;
	}
private:
	int a;
};

void test01() {
	Maker m;
	m.printfMaker();
}

int main()
{

	test01();

	system("pause");
	return EXIT_SUCCESS;
}